home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
6_2.lha
/
6_2
/
6_2b.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
336b
|
9 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
tring x = "0123456789"; // creates string "0123456789"
tring x25 = x(2, 4); // creates string "2345"
tring x69 = x(6); // creates string "6789"
tring x57 = x(-5, 3); // creates string "567"